package character;

import java.util.ArrayList;
import java.util.List;

public class CharSpec {
	private String title;

	List<Character> charList = new ArrayList<Character>();
	/**
	 *Sets the title of the character spec
	 *(Constructor)
	 * @param title
	 */
	public CharSpec(String title) {
		this.title = title;
	}
	/**
	 * adds a character to the character spec
	 * @param addChar
	 */
	public void addChar(char addChar) {
		charList.add(addChar);
	}
	
	/**
	 * returns the title of the character spec
	 * @return
	 */
	public String getTitle() {
		return title;
	}
	
	/**
	 * Allows the user to change the title
	 * @param title
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * returns the List of characters.
	 * @return
	 */
	public List<Character> getCharList() {
		return charList;
	}
}
